package com.crane.oss.properties;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 渠道接入配置参数
 *
 * @author tyh
 */
@Component
@ConfigurationProperties(prefix = "aliyun.sms.config")
@Getter
@Setter
@ToString
public class SmsConfigProperties {

    private String accessKeyId;

    private String accessKeySecret;

    /**
     * 短信签名
     */
    private String signName;

    private boolean smsOpenFlag;

    /**
     * 短信验证码模板CODE
     */
    private String verifyCodeTemplate;

    /**
     * 工单报价通知模板CODE
     */
    private String quotnNoticeTemplate;
    
    /**
     * 工单派单通知模板CODE
     */
    private String assignNoticeTemplate;

}
